//
//  LDTProductCell.m
//  EPA
//
//  Created by lanou3g on 16/4/22.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "LDTProductCell.h"
#import "SDWebImageCompat.h"
@interface LDTProductCell ()

@property (weak, nonatomic) IBOutlet UIImageView *coverimgImage;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;


@end


@implementation LDTProductCell


- (void)layoutSubviews
{
    [self.coverimgImage sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLabel.text = self.model.title;
   
}
#pragma mark - 分享,评论,收藏点击事件

- (IBAction)didClickshareBtn:(UIButton *)sender
{
     NSLog(@"分享");
}

- (IBAction)didClickcommentsBtn:(UIButton *)sender
{
     NSLog(@"评论");
}

- (IBAction)didClickcollectionBtn:(UIButton *)sender
{
     NSLog(@"收藏");
}


//现在购买
- (IBAction)buynowBtn:(id)sender {
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
